<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../print.css" type="text/css" media="print">
<meta content="Assert,flexunit.framework.Assert,assertEquals,assertStrictlyEquals,assertTrue,assertFalse,assertNull,assertNotNull,assertUndefined,assertNotUndefined,fail" name="keywords">
<title></title>
</head>
<body class="MainContent">
<script type="text/javascript" language="javascript" src="../../asdoc.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'Assert - FlexUnit - ActionScript 3.0 Unit Testing Framework';
				window.onload = configPage;
			--></script>
<div class="pageTop"></div>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td style="padding-left:5px" width="64" valign="left"><img title="Macromedia Logo" alt="Macromedia Logo" border="0" src="../../images/mm-icon.jpg"></td><td valign="middle" align="center">
<h1 style="font-size:20px">FlexUnit - ActionScript 3.0 Unit Testing Framework</h1>
</td>
</tr>
<tr>
<td height="5px" colspan="2"></td>
</tr>
</table>
<div style="padding-bottom:5px" align="right" class="topLinks" width="100%">
<span style="display:none;font-size:14px;font-weight:bold" id="navigationCell1"><a onclick="loadClassListFrame('../../all-classes.html')" href="../../package-summary.html">All&nbsp;Packages</a>&nbsp;| <a onclick="loadClassListFrame('../../all-classes.html')" href="../../class-summary.html">All&nbsp;Classes</a>&nbsp;| <a onclick="loadClassListFrame('../../index-list.html')" href="../../all-index-A.html">Index</a>&nbsp;| <a href="../../appendixes.html">Appendixes</a>&nbsp;| <a href="../../index.html?flexunit/framework/Assert.html&amp;./flexunit/framework/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></span>
</div>
<div align="right" class="topLinks" width="100%">
<span><a href="#constructorSummary">Constructor</a>&nbsp;| <a href="#methodSummary">Methods</a></span>
</div>flexunit.framework<h1>Class Assert</h1>
<p></p>
<pre>
<script type="text/javascript">var tabCount=3;</script><script type="text/javascript">var showInheritance = false;</script><script type="text/javascript">if (showInheritance) { for (var cnt=0; cnt < tabCount; cnt++)document.write(" ");document.write("<img src='../../images/inherit-arrow.jpg' />");document.write(" ");};</script><script type="text/javascript">document.writeln("flexunit.framework.Assert");</script>
</pre>
<br>
<a name="subclasses"></a><b>Direct known subclasses</b>
<table>
<tr>
<td width="25px"></td><td><a href="../framework/TestCase.html">TestCase</a></td>
</tr>
</table>
<hr>
<p></p>public class <b>Assert</b>
<p></p> 
 Base class containing static assert methods.
 <p></p>
<hr>
<br>
<br>
<a name="constructorSummary"></a>
<table class="withBorder" width="100%" cellpadding="3" cellspacing="0">
<tr>
<td class="SummaryTableHeader" bgcolor="#CCCCCC" colspan="2"><font size="+1"><b>Constructor Summary</b></font></td>
</tr>
<tr class="row1">
<td align="right" valign="top" width="50px"></td><td align="left" valign="top"><code><a href="#Assert()"><b>Assert</b></a>()</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>
<br>
<br>
<a name="methodSummary"></a>
<table class="withBorder" width="100%" cellpadding="3" cellspacing="0">
<tr>
<td class="SummaryTableHeader" bgcolor="#CCCCCC" colspan="2"><font size="+1"><b>Method Summary</b></font></td>
</tr>
<tr class="row1">
<td align="right" valign="top" width="50px"><code><font style="bold" size="1">static </font></code></td><td valign="top"><code><a href="#assertEquals()"><b>assertEquals</b></a>(... <b>rest</b>) : void</code></td>
</tr>
<tr class="row0">
<td align="right" valign="top" width="50px"><code><font style="bold" size="1">static </font></code></td><td valign="top"><code><a href="#assertFalse()"><b>assertFalse</b></a>(... <b>rest</b>) : void</code></td>
</tr>
<tr class="row1">
<td align="right" valign="top" width="50px"><code><font style="bold" size="1">static </font></code></td><td valign="top"><code><a href="#assertNotNull()"><b>assertNotNull</b></a>(... <b>rest</b>) : void</code></td>
</tr>
<tr class="row0">
<td align="right" valign="top" width="50px"><code><font style="bold" size="1">static </font></code></td><td valign="top"><code><a href="#assertNotUndefined()"><b>assertNotUndefined</b></a>(... <b>rest</b>) : void</code></td>
</tr>
<tr class="row1">
<td align="right" valign="top" width="50px"><code><font style="bold" size="1">static </font></code></td><td valign="top"><code><a href="#assertNull()"><b>assertNull</b></a>(... <b>rest</b>) : void</code></td>
</tr>
<tr class="row0">
<td align="right" valign="top" width="50px"><code><font style="bold" size="1">static </font></code></td><td valign="top"><code><a href="#assertStrictlyEquals()"><b>assertStrictlyEquals</b></a>(... <b>rest</b>) : void</code></td>
</tr>
<tr class="row1">
<td align="right" valign="top" width="50px"><code><font style="bold" size="1">static </font></code></td><td valign="top"><code><a href="#assertTrue()"><b>assertTrue</b></a>(... <b>rest</b>) : void</code></td>
</tr>
<tr class="row0">
<td align="right" valign="top" width="50px"><code><font style="bold" size="1">static </font></code></td><td valign="top"><code><a href="#assertUndefined()"><b>assertUndefined</b></a>(... <b>rest</b>) : void</code></td>
</tr>
<tr class="row1">
<td align="right" valign="top" width="50px"><code><font style="bold" size="1">static </font></code></td><td valign="top"><code><a href="#fail()"><b>fail</b></a>(failMessage:String = "") : void</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
</tr>
</table>
<br>
<br>
<a name="constructorDetail"></a>
<table class="withBorder" width="100%" cellpadding="3" cellspacing="0">
<tr>
<td class="SummaryTableHeader" bgcolor="#CCCCCC" colspan="2"><font size="+1"><b>Constructor Detail</b></font></td>
</tr>
</table>
<p></p>
<h2>Assert Constructor<a name="Assert()"></a>
</h2>
<p></p>
<p>
<code>public function <b>Assert</b>()</code>
</p>
<br>
<br>
<a name="methodDetail"></a>
<table class="withBorder" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="SummaryTableHeader" bgcolor="#CCCCCC" colspan="2"><font size="+1"><b>Method Detail</b></font></td>
</tr>
</table>
<a name="assertEquals()"></a>
<p></p>
<h2>assertEquals Method</h2>
<p></p>
<p>
<code>public static function <b>assertEquals</b>(... <b>rest</b>) : void</code>
</p>
<p></p>
<b>Parameters</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <b>rest</b></code></td>
</tr>
</table>
<p></p>
<b>Returns</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>void</code></td>
</tr>
</table>
<hr>
<a name="assertFalse()"></a>
<p></p>
<h2>assertFalse Method</h2>
<p></p>
<p>
<code>public static function <b>assertFalse</b>(... <b>rest</b>) : void</code>
</p>
<p></p>
<b>Parameters</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <b>rest</b></code></td>
</tr>
</table>
<p></p>
<b>Returns</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>void</code></td>
</tr>
</table>
<hr>
<a name="assertNotNull()"></a>
<p></p>
<h2>assertNotNull Method</h2>
<p></p>
<p>
<code>public static function <b>assertNotNull</b>(... <b>rest</b>) : void</code>
</p>
<p></p>
<b>Parameters</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <b>rest</b></code></td>
</tr>
</table>
<p></p>
<b>Returns</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>void</code></td>
</tr>
</table>
<hr>
<a name="assertNotUndefined()"></a>
<p></p>
<h2>assertNotUndefined Method</h2>
<p></p>
<p>
<code>public static function <b>assertNotUndefined</b>(... <b>rest</b>) : void</code>
</p>
<p></p>
<b>Parameters</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <b>rest</b></code></td>
</tr>
</table>
<p></p>
<b>Returns</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>void</code></td>
</tr>
</table>
<hr>
<a name="assertNull()"></a>
<p></p>
<h2>assertNull Method</h2>
<p></p>
<p>
<code>public static function <b>assertNull</b>(... <b>rest</b>) : void</code>
</p>
<p></p>
<b>Parameters</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <b>rest</b></code></td>
</tr>
</table>
<p></p>
<b>Returns</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>void</code></td>
</tr>
</table>
<hr>
<a name="assertStrictlyEquals()"></a>
<p></p>
<h2>assertStrictlyEquals Method</h2>
<p></p>
<p>
<code>public static function <b>assertStrictlyEquals</b>(... <b>rest</b>) : void</code>
</p>
<p></p>
<b>Parameters</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <b>rest</b></code></td>
</tr>
</table>
<p></p>
<b>Returns</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>void</code></td>
</tr>
</table>
<hr>
<a name="assertTrue()"></a>
<p></p>
<h2>assertTrue Method</h2>
<p></p>
<p>
<code>public static function <b>assertTrue</b>(... <b>rest</b>) : void</code>
</p>
<p></p>
<b>Parameters</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <b>rest</b></code></td>
</tr>
</table>
<p></p>
<b>Returns</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>void</code></td>
</tr>
</table>
<hr>
<a name="assertUndefined()"></a>
<p></p>
<h2>assertUndefined Method</h2>
<p></p>
<p>
<code>public static function <b>assertUndefined</b>(... <b>rest</b>) : void</code>
</p>
<p></p>
<b>Parameters</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code>... <b>rest</b></code></td>
</tr>
</table>
<p></p>
<b>Returns</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>void</code></td>
</tr>
</table>
<hr>
<a name="fail()"></a>
<p></p>
<h2>fail Method</h2>
<p></p>
<p>
<code>public static function <b>fail</b>(failMessage:String = "") : void</code>
</p>
<p></p>
<b>Parameters</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><b>failMessage</b>:String</code> (default = "<code></code>")<code></code></td>
</tr>
</table>
<p></p>
<b>Returns</b>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>void</code></td>
</tr>
</table>
<br>
<br>
<hr>
<br>
<div align="right" class="topLinks" width="100%">
<span><a href="#constructorSummary">Constructor</a>&nbsp;| <a href="#methodSummary">Methods</a></span>
</div>
<div style="padding-bottom:5px" align="right" class="topLinks" width="100%">
<span style="display:none;font-size:14px;font-weight:bold" id="navigationCell2"><a onclick="loadClassListFrame('../../all-classes.html')" href="../../package-summary.html">All&nbsp;Packages</a>&nbsp;| <a onclick="loadClassListFrame('../../all-classes.html')" href="../../class-summary.html">All&nbsp;Classes</a>&nbsp;| <a onclick="loadClassListFrame('../../index-list.html')" href="../../all-index-A.html">Index</a>&nbsp;| <a href="../../appendixes.html">Appendixes</a>&nbsp;| <a href="../../index.html?flexunit/framework/Assert.html&amp;./flexunit/framework/class-list.html" id="framesLink2">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink2">No&nbsp;Frames</a></span>
</div>
<p></p>
<center class="copyright">Copyright &copy; 2005 Macromedia Inc. All rights reserved.<br>Mon May 8 2006, 15:55 PDT</center>
</body>
</html>
<!--Copyright &copy; 2005 Macromedia Inc. All rights reserved.Mon May 8 2006, 15:55 PDT-->
